package com.sc.nft.dto.wallet;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class DaoLegalPersonDTO {

    @ApiModelProperty("法人名称")
    @NotBlank(message = "请输入法人名称")
    private String legalPersonName;


    @ApiModelProperty("法人手机号")
    @NotBlank(message = "请输入法人手机号")
    private String legalPersonPhone;

    @ApiModelProperty("法人身份证号")
    @NotBlank(message = "请输入法人身份证号码")
    private String legalPersonIdCard;

    @ApiModelProperty("法人身份证国徽面")
    @NotBlank(message = "请上传法人身份证国徽面")
    private String legalPersonEmblem;

    @ApiModelProperty("法人身份证人像面")
    @NotBlank(message = "请上传法人身份证人像面")
    private String legalPersonPortrait;

    @ApiModelProperty("法人身份证到期日")
    @NotNull(message = "请输入法人身份证到期日")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date legalPersonExp;

}
